import Vue from 'vue'
import App from './App'
import api from './static/api/api.js'
import store from './static/store/store.js'
import apiFun from './static/api/apicon.js'
import publicFun from './static/api/publicFun.js'
// 全局组件封装
import getNumber from './components/uni_getNumber/index.vue'
// 引入全局分享
import {getShare} from './static/mixins/getShareInfo.js'
import {shareMixins} from './static/mixins/shareMixins.js'
import share from './common/share.js'
// 复制 
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard) 
Vue.component('getNumber',getNumber) 
Vue.mixin(share)
Vue.mixin(getShare)
Vue.mixin(shareMixins)
Vue.config.productionTip = false,
Vue.prototype.$apiFun = apiFun
Vue.prototype.$api = api.api
Vue.prototype.$publicFun = publicFun
Vue.prototype.$bus = new Vue()
App.mpType = 'app'
// #ifdef H5
Vue.config.ignoredElements.push('wx-open-launch-weapp')
// #endif

const app = new Vue({
	store,
    ...App
})
app.$mount()